package com.usian.wemedia;

import com.usian.model.admin.dtos.NewsAuthDto;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;

import java.util.List;

public interface WmNewsControllerApi {

    public ResponseResult findNewsList(WmNewsPageReqDto dto);

    public ResponseResult saveNews(WmNewsDto dto);

    public ResponseResult findNewsById(Integer newsId);

    public ResponseResult delNews(Integer id);

    public ResponseResult downOrUp(WmNewsDto dto);

    public WmNews findByNewsId(Integer id);

    public ResponseResult updateNewsStatus(WmNews wmNews);

    public List<Integer> findNewsListShenhe();

    public ResponseResult findNewsRenGongPage(NewsAuthDto dto);

    public ResponseResult findOne(Integer id);

    public ResponseResult authNewsRenGong(NewsAuthDto dto);


}
